﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Master.Master" AutoEventWireup="true" CodeBehind="DelHeadV1.aspx.cs" Inherits="PresentationLayer.View.DepartmentManager.DelHeadV1" %>
<%@ Register src="headmenu.ascx" tagname="headmenu" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style5
        {
            width: 185px;
        }
        
      
        .style6
        {
            width: 226px;
        }
        
      
        .style8
        {
            width: 72px;
        }
        
      
        </style>

     

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <table width="100%">
    <tr>
        <td style="height:auto;width:200px;vertical-align:top;">
        
            <!--<uc1:clerkmenu ID="clerkmenu1" runat="server" />-->
        
            <uc1:headmenu ID="headmenu1" runat="server" />
        
        </td>
        <td>
            
      <table width="300px">
      <td class="style8"><asp:Label ID="lblEmployeeName" runat="server" Text="Employee Name" Width="200px"></asp:Label></td>
      <td>&nbsp;
      
      <asp:TextBox ID="txtEmpName" runat="server" EnableViewState ="true"></asp:TextBox></td>
      <td> </td>
       <td>
           &nbsp;</td>
       <td class="style8">
      <asp:Button ID="btnSearch" runat="server" Text="Search" onclick="btnSearch_Click" 
             />
          </td>
      </table>
    <div style="text-align:center">
    <table style="width: 596px">

   
    
    <tr>
    
    <td height ="100" class="style6">&nbsp;<asp:Label ID="lblmessage" runat="server" Text="Label" 
            Visible="False" ForeColor="Red" Font-Bold="true" ></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> 
    

   
    </tr>
   </table>
   </div>
      <%--<table  width="300px" >--%>
   
    <asp:gridview id="GvEmpList" runat="server" autogeneratecolumns="False" 
            Width="520px" CellPadding="4" 
        ForeColor="#333333" GridLines="None" Height="203px" AllowPaging="True" 
           OnPageIndexChanging="GvEmpList_PageIndexChanging" >        
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
          <columns>
             <asp:TemplateField HeaderText="Sr.No">
             <ItemTemplate>
                <%# Container.DataItemIndex + 1 %>
             </ItemTemplate>
             </asp:TemplateField>  
        <asp:boundfield datafield="EmpId" HeaderText="Employee ID" />              
        <asp:boundfield datafield="EmpName" HeaderText="Employee Name" />   
      
       <asp:TemplateField HeaderText="Assign">
        <ItemTemplate>
         <asp:LinkButton ID="btnselect" Runat="server" OnClick="btnselect_Click" CommandArgument='<%# Eval( "EmpId" ) %>'>Select</asp:LinkButton>
          
        </ItemTemplate>
      </asp:TemplateField>      

   
       </columns>  
       <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
     </asp:gridview> 
     
     <table align="center">
     <tr> <td height ="50px" class="style5"> </td></tr>
     <tr>
     <td align="left" class="style5">&nbsp;</td>
     <td>
         <asp:Button ID="btnDelegate" runat="server" Text="Delegate" 
             Width="81px" onclick="btnSubmit_Click" />
         &nbsp;&nbsp;</td>
         <td>
             &nbsp;</td>
     </tr>
     </table>

     </td></tr></table>
</asp:Content>
